home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
stomp
/
stomp.doc
< prev
next >
Wrap
Text File
|
1994-09-30
|
2KB
|
57 lines
STOMP.DLL
Copyright (C) 1994 DRAGON SOFTWARE
ALL RIGHTS RESERVED
Thank You For Trying STOMP.DLL. This Dynamic Link Library will
compress a single file. STOMP uses a fast and effective compression
Procedure. Stomp was written for Dungeon Maker to compress bitmaps
Saved in Visual Basic. Dungeon Maker usually save a bitmap that is
equivalent to a 8.5 X 11 in. page, at 256 colors the file size was
very large about 860k large, after being compress with Stomp the
file was 172K.
Provided is sample source Code Ready for Visual Basic and the EXE file.
Below is the VB declaration for the Custom Dynamic Library and should be
placed within the form declaration or the Module declaration.
Declare Function Doit Lib "stomp.DLL" (ByVal in As String, ByVal out As String) As Integer
Declare Function UNdoit Lib "stomp.DLL" (ByVal in As String, ByVal out As String) As Integer
The Function Doit will compress a file
The Function UnDoit will Uncompress a file
PARAMS:
IN - The File to be Compressed or Uncompressed
OUT - The file to be Compressed or Uncompressed to.
RETURNS:
1 = Function was Successful
2 = Function was not successfull
below is an example how to call the DOIT and UNDOIT functions.
x% = doit("C:\AUTOEXEC.BAT", "C:\AUTOEXEC.CMP")
x% = undoit("C:\AUTOEXEC.CMP, "C:\AUTOEXEC.BAT)
-----------------------------------------------------------------------------
CONTACTING DRAGON SOFTWARE.
SUPPORT BBS.....................................(304)363-2252
AOL.............................................DSOFTWARE
INTERNET........................................DSOFTWARE@AOL.COM
PHONE...........................................(304)584-4143
US Mail.........................................P.O. Box 299
Lumberport, WV 26386
-----------------------------------------------------------------------------
REGISTRATION
Please Open REGISTER.TXT